﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MangoMes.Commont.Domain.Productions
{
    /// <summary>
    /// 生产退料表
    /// </summary>
    [Table("Stripping")]
    public class Stripping
    {
        [Key]
        /// <summary>
        /// 主键ID
        /// </summary>
        public int StrippingId { get; set; }
        /// <summary>
        /// 退料单编号
        /// </summary>
        public string? StrippingNode { get; set; }
        /// <summary>
        /// 退料单名称
        /// </summary>
        public string? StrippingName { get; set; }
        /// <summary>
        /// 生产工单
        /// </summary>
        public string? ProductionWorkOrdersNo { get; set; }
        /// <summary>
        /// 仓库id
        /// </summary>
        public int StashId { get; set; }
        /// <summary>
        /// 退料日期
        /// </summary>
        public DateTime StrippingTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        public int Documents { get; set; }   
        public int StrippingStatus { get; set; }
    }
}
